package com.asiainfo.datamodel;

import com.asiainfo.operationdb.CheckData;

/**
 * 用于课程安排对象数据管理
 * 
 * @author asus
 * 
 */
public class CourseShedule {
	String schedule_id, course_name, coach_name;
	int course_id, coach_id, coach_maxnums;

	public void setValue(String schedule_id, String course_name,
			String coach_name) {
		CheckData checkData = new CheckData();
		this.schedule_id = schedule_id;
		this.course_id = checkData.getID(course_name,
				"select * from course_info");
		this.coach_id = checkData.getID(coach_name, "select * from coach_info");
		this.course_name = course_name;
		this.coach_name = coach_name;
	}

	public String getScheduleIDd() {
		return schedule_id;
	}

	public int getCourseID() {
		return course_id;
	}

	public int getCoachID() {
		return coach_id;
	}

	public String getCourseName() {
		return course_name;
	}

	public String getCoachName() {
		return coach_name;
	}
}
